package com.kaishengit.entity;

import java.text.ParseException;

import com.kaishengit.util.DateUtil;

public class Document {
	private String id;
	private String title;
	private String content;
	private String createtime;
	private User user;
	private String userid;
	private String time;
	private Project project;
	private String projectid;
	private String result;
	
	
	public String getResult() {
		return result;
	}
	public void setResult(String result) throws ParseException {
		this.result = DateUtil.test(DateUtil.getNow(), result);
	}
	public Project getProject() {
		return project;
	}
	public void setProject(Project project) {
		this.project = project;
	}
	public String getProjectid() {
		return projectid;
	}
	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	
	
	
}
